#pragma once
#include"Projection.h"
#include"BaseObject.h"

class CG
{
public:
	CG();
	~CG();

public:
	void Init();
	void Destory();
	void DrawObject();
	void Wander();
	void Func();
public:
	void Refresh();
	void SwitchAlwaysRefresh();
	void ChangeDrawMode();
	void ChangePhongMethod();
	void View(float alpha, float beta);
	void Move(float right, float up, float front);
private:
	Projection pro;
	vector<Surface*> objs;
public:
	bool isLoop;
	bool alwaysLoop;
	int drawMode;
	int phongMethod;
};

